<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <title>View All Stakeholders</title>
        <style type="text/css">
            .gritter-notice-wrapper {
                left:200px;
                top: 50px;
            }
        </style>
    </h:head>
    <h:body>
        <h:form id="formMain">
            <h1>MyPrimeFacesOrganizer - Powered by PrimeFaces 2.2.1</h1>
            <p:menubar autoSubmenuDisplay="true">
                <p:menuitem value="Home" url="index.xhtml" />
                <p:menuitem value="TCubeView All Stakeholders" url="TCubeViewAllStakeholder.xhtml" />
                <p:menuitem value="TCubeAdd New Stakeholder" url="TCubeAddNewStakeholder.xhtml" />
            </p:menubar>
            <br/>

            <p:panel id ="abc" header="View My Transactions">
      
                <p:dataTable var="transaction" value="#{customerManagerBean.transactionList}" paginator="true"
                             rows="10" emptyMessage="No Customer Transaction">
                    
                    <p:column sortBy="#{transaction.id}" filterBy="#{transaction.id}" filterMatchMode="contains">
                        <f:facet name="header">
                            <h:outputText value="Transaction ID" />
                        </f:facet>
                        <h:outputText value="#{transaction.id}" />
                    </p:column>
                    
                    <p:column sortBy="#{transaction.datePaid}" filterBy="#{transaction.datePaid}" filterMatchMode="contains">
                        <f:facet name="header">
                            <h:outputText value="Date" />
                        </f:facet>
                        <h:outputText value="#{transaction.datePaid}" />
                    </p:column>
                    <p:column sortBy="#{transaction.amount}" filterBy="#{transaction.amount}" filterMatchMode="contains">
                        <f:facet name="header">
                            <h:outputText value="Amount" />
                        </f:facet>
                        <h:outputText value="#{transaction.amount}" />
                    </p:column>
                </p:dataTable>
            </p:panel>
     
        </h:form>
    </h:body>
</html>
